SRC_DIR=./..

APPNAME = image
FULLNAME = $(OUT_DIR)/$(APPNAME).elf
BINNAME = $(OUT_DIR)/$(APPNAME).bin

include $(SRC_DIR)/rules.mk

CFLAGS += -O1 -I. \
		-I$(SRC_DIR)/include \
		-I$(SRC_DIR)/libhardware \
		-I$(SRC_DIR)/libcmsis \
		-I$(SRC_DIR)/libusbfs \
		-DUSE_STDPERIPH_DRIVER \
		-DDEBUG \
		-DSD_DMA_MODE \
		$(APP_DEFS) \
		$(FREERTOS_DEFS) \
		$(HARDWARE_DEFS)

LIBS =  -lusbfs -lhardware -lcmsis -le_stdio -lm

CUSTOM_RM_FILES=$(OUT_DIR)/image.*
